<script type="text/javascript" src="js/services.js"></script>
<link type="text/css" rel="stylesheet" href="css/services.css"/>
<style type="text/css" media="screen">
    .filter{
        width: 200px;
        height: 28px;
        overflow: hidden;
        background: url("images/dropdown.png") no-repeat right #ddd;
        border: 0;
        margin-right: 150px;
    }

    .filter select{
        background: transparent;
        width: 225px;
        line-height: 1;
        padding: 5px;
        border: none;
        border-radius: 1px;
        -webkit-appearance: none;
    }
</style>
﻿<div class="container">
		<h1>Sửa khuyên mãi</h1>
<?php     

echo form_open(current_url()); ?>
		<div id = "top_reserve">
			<div id = "content-right" class="action">
			
			<div>
			<p>
        <input type="image" id="button_submit" name="button_submit" value="Lưu" class="imageButtonSmall"/>
		<?php 
		$data = array(
			'name' => 'button_cancel',
			'id' => 'button_cancel',
			'value' => 'true',
			'type' => 'button',
			'content' => 'Hủy',
			'onclick'=>"history.go(-1);return false;"
		);

		echo form_button($data);
		?>
</p>
			</div> <!-- end add_new -->
                        </div> <!-- end opt_box -->
		</div> <!-- end top_reserve -->	
<div style="width:500px;margin:0 auto;">
<?php echo $custom_error; ?>
<?php echo form_hidden('Promo_ID',$result->Promo_ID) ?>
<span style=" clear:both; float:left; padding:5px;">
                <p><label style="float: left; text-align: right; margin-right: 5px; width: 135px;" for="Eff_Dt">Eff_Dt<span class="required"><font color="red">*</font></span></label>                                
                <input id="Eff_Dt" type="text" name="Eff_Dt" value="<?php echo date("d/m/Y",$result->Eff_Dt) ?>"  />
                <?php echo form_error('Eff_Dt','<div>','</div>'); ?>
                </p></span>
<span style=" clear:both; float:left; padding:5px;">
                <p><label style="float: left; text-align: right; margin-right: 5px; width: 135px;" for="Exp_Dt">Exp_Dt<span class="required"><font color="red">*</font></span></label>                                
                <input id="Exp_Dt" type="text" name="Exp_Dt" value="<?php echo date("d/m/Y",$result->Exp_Dt) ?>"  />
                <?php echo form_error('Exp_Dt','<div>','</div>'); ?>
                </p></span>
	<span style=" clear:both; padding:5px;"><p>
                <label style="float: left; text-align: right; margin-right: 5px; width: 135px;" for="Price">Dịch vụ 1</label> <div class="filter">
				<?php  echo $combobox_cats;?></div></p>
		</span>
<span style=" clear:both; float:left; padding:5px;">
                <p><label style="float: left; text-align: right; margin-right: 5px; width: 135px;" for="Discount_Percent1">Discount_Percent1</label>                                
                <input id="Discount_Percent1" type="text" name="Discount_Percent1" value="<?php echo $result->Discount_Percent1 ?>"  />
                <?php echo form_error('Discount_Percent1','<div>','</div>'); ?>
                </p></span>
	<span style=" clear:both; padding:5px;"><p>
				<label style="float: left; text-align: right; margin-right: 5px; width: 135px;" for="Price">Dịch vụ 2</label> <div class="filter">
				<?php  echo $combobox_cats2;?></div></p>
		</span>
<span style=" clear:both; float:left; padding:5px;">
                <p><label style="float: left; text-align: right; margin-right: 5px; width: 135px;" for="Discount_Percent2">Discount_Percent2</label>                                
                <input id="Discount_Percent2" type="text" name="Discount_Percent2" value="<?php echo $result->Discount_Percent2 ?>"  />
                <?php echo form_error('Discount_Percent2','<div>','</div>'); ?>
                </p></span>
	<span style="clear:both; padding:5px;"><p>
				<label style="float: left; text-align: right; margin-right: 5px; width: 135px;" for="Price">Dịch vụ 3</label> <div class="filter">
				<?php  echo $combobox_cats3;?></div></p>
		</span>
<span style=" clear:both; float:left; padding:5px;">
                <p><label style="float: left; text-align: right; margin-right: 5px; width: 135px;" for="Discount_Percent3">Discount_Percent3</label>                                
                <input id="Discount_Percent3" type="text" name="Discount_Percent3" value="<?php echo $result->Discount_Percent3 ?>"  />
                <?php echo form_error('Discount_Percent3','<div>','</div>'); ?>
                </p></span>
</div>
<?php echo form_close(); ?>
	</div>

	<!-- 3rd div level 1 - footer -->

	<div id="footer">
	</div>
</body>
</body>
</html>
